package com.dz.lm.dao.useragent.write;

import com.dz.lm.common.exception.DaoException;
import com.dz.lm.common.utils.stereotype.WriterRepository;
import com.dz.lm.domain.attach.Attach;
import com.dz.lm.domain.useragent.UserAgent;

import java.util.Map;

@WriterRepository("writeUserAgentDao")
public interface UserAgentDao {
    int deleteByPrimaryKey(Long agentId)throws DaoException;


    int insertSelective(UserAgent record)throws DaoException;


    int updateByPrimaryKeySelective(UserAgent record)throws DaoException;

    int cancelAgent(Map record)throws DaoException;

    int agentReview(Map map) throws DaoException;

}